<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title>项目管理系统</title>
	<link rel="stylesheet" href="static/css/bootstrap.min.css" />
	<style type="text/css">
		body{
			background-image:url(static/img/bg.png);
		}
	</style>
</head>
<body class="body">
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">				
				<a class="brand" href="">Kaishengit PMS</a>
			</div>		
		</div>	
	</div>
	<div class="container">
		<div class="row">
			<div class="span3" style="margin-top:60px">
				<div  style="padding:15px">
					<ul class="nav nav-list">
						<li class="nav-header" style="font-size:14px">${sessionScope.userProject.project.name }</li>
						<li class="divider"></li>
						<li><a href="project.jspx"><i class="icon-home"></i>最新动态</a></li>
						<li><a href="goal.jspx"><i class="icon-flag"></i>目标</a></li>
						<li><a href="document.jspx"><i class="icon-folder-open"></i>资料库</a></li>
						<li><a href="files.jspx"><i class="icon-file"></i>文件共享</a></li>
						<li class="active"><a href="contact.jspx"><i class="icon-white icon-user"></i>联系人</a></li>
						<li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
						<li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
						<li><a href="set.jspx"><i class="icon-cog"></i>项目设置</a></li>
					</ul>
				</div>				
			</div>
			<div class="span9" style="margin-top:80px">				
				<form action="contact.jspx?m=add" class="form-horizontal" id = "myform" method = "post">
					<fieldset>
						<legend>添加联系人</legend>
						<div class="control-group">
							<label class="control-label"for="input01">姓名</label>
							<div class="controls">
								<input type="text" class="span5" id=""  name = "name" />
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="input01">公司</label>
							<div class="controls">
								<input class="span5" id="" type="text" name ="company">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="input01">手机</label>
							<div class="controls">
								<input class="span5" id="" type="text" name = "cellphone">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="input01">固话</label>
							<div class="controls">
								<input class="span5" id="" type="text" name ="phone">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="input01">邮箱</label>
							<div class="controls">
								<input class="span5" id="" type="text" name ="email">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="input01">地址</label>
							<div class="controls">
								<input class="span5" id="" type="text" name ="address">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="input01">主页</label>
							<div class="controls">
								<input class="span5" id="" type="text" name ="homepage">
								<p class="help-block">http://www.xxx.com</p>
							</div>
						</div>
						
						
						<div class="control-group">
							<label class="control-label" for="input01">微博</label>
							<div class="controls">
								<select class="span2" name ="weibotype">
									<option value="" selected="selected"></option>
									<option value="新浪微博">新浪微博</option>
									<option value="腾讯微博">腾讯微博</option>
									<option value="Twitter">Twitter</option>
								</select>
								<div class="input-prepend">
									<span class="add-on">@</span><input class="span2" id="" type="text" name ="weibo">
								</div>
							</div>
						</div>
						
						
						
						<div class="control-group">
							<label class="control-label" for="input01">简介</label>
							<div class="controls">
								<textarea class="span5" rows="3" name ="textarea"></textarea>
							</div>
						</div>
						<div class="form-actions">
							<button class="btn btn-primary" type="button" id = "btnSave">保存</button>
							<button class="btn" onclick="location.back()">返回</button>
						
						</div>
					</fieldset>					
				</form>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="static/js/jquery.js"></script>
	<script type = "text/javascript">
		$(document).ready(function(){
			$("#btnSave").click(function(){
				$("#myform").submit();
			});
		});
	
	</script>
	
	
	
</body>
</html>
